package com.imooc.girl.result;

import java.io.Serializable;

/**
 * 返回结果包装对象
 * @author Administrator
 * @date 2018-9-10
 */
public class Result<T> implements Serializable {

  private static final long serialVersionUID = 1L;

  private String errorCode;

  private String errorMsg;

  private T data;

  public Result() {
    super();
  }

  public String getErrorCode() {
    return errorCode;
  }

  public void setErrorCode(String errorCode) {
    this.errorCode = errorCode;
  }

  public String getErrorMsg() {
    return errorMsg;
  }

  public void setErrorMsg(String errorMsg) {
    this.errorMsg = errorMsg;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }

}
